#ifndef SERIAL_H__
#define SERIAL_H__

#include "platform.h"

extern rt_device_t device_ext_uart;
extern uint8_t serial_data[SERIAL_BUFFSZ];
extern rt_tick_t recieve_time;

rt_err_t ext_uart_init();
rt_err_t ext_uart_event();

#endif /*SERIAL_H__*/
